home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / Makefile < prev    next >
Encoding:
Makefile  |  1993-08-02  |  3.0 KB  |  110 lines

  1. # Generated automatically from Makefile.in by configure.
  2. #############################################################################
  3. #     Make file for the FSP suite of programs.
  4. #############################################################################
  5. # Use "make install" to install binaries.
  6. # Use "make de-install" to remove installed binaries and man pages.
  7. # Use "make install-merge" to install the client merge and symbolic links.
  8. # Use "make install-man" to install the man pages.
  9.  
  10. #############################################################################
  11. # The following variable defines the compiler to use in your compilation.
  12. #
  13. CC    = gcc
  14.  
  15. #############################################################################
  16. # Set up your compiler flags here.  If you want optimized code, leave it
  17. # the way it is now.
  18. #
  19. OPTIM    = -O
  20.  
  21. #############################################################################
  22. # If you need to link in any additional libraries, do it here.
  23. # AT&T 3B2/600G + AT&T Unix Sys V R 3.2.3 + WIN/TCP R 3.2 use -lnet -lnsl_s 
  24. # Sequent Dynix/ptx, use -lsocket -linet -lnsl -lseq
  25. #
  26. EX_LIBS    = 
  27.  
  28. #############################################################################
  29. # define this to '&' if you plan to use parallel make. You need
  30. # the enhanced GNU make or Sequent's make for that
  31. #
  32. PARALLEL_MAKE = 
  33.  
  34.  
  35. #############################################################################
  36. # NOTE: YOU SHOULD NOT HAVE TO CHANGE ANYTHING BELOW THIS LINE
  37. #############################################################################
  38.  
  39. prefix    = /usr/local
  40.  
  41. BIN    = ${prefix}/bin
  42. MAN    = ${prefix}/man
  43.  
  44. INCLUDE    = -I../include
  45.  
  46. DEFS    = -DHAVE_CONFIG_H
  47.  
  48. CFLAGS    = ${OPTIM} ${INCLUDE} ${DEFS}
  49.  
  50. SHELL    = /bin/sh
  51.  
  52. AR    = ar
  53. ARFLAGS    = cru
  54. RM    = rm
  55.  
  56. INSTALL    = /bin/install -c
  57. DINSTAL    = $(INSTALL) -m 644
  58. LN    = ln -s
  59. RANLIB    = ranlib
  60.  
  61. PROG_FL    = AR="${AR}" CC="${CC}" CFLAGS="${CFLAGS}" SHELL="${SHELL}" \
  62.       INSTALL="${INSTALL}" DINSTAL="${DINSTAL}" LN="${LN}" \
  63.       RANLIB="${RANLIB}" BIN="${BIN}" MAN="${MAN}" EX_LIBS="${EX_LIBS}" \
  64.       RM="${RM}" PARALLEL_MAKE="${PARALLEL_MAKE}" ARFLAGS="${ARFLAGS}"
  65.  
  66. all: fspserver fspclients
  67.  
  68. bsd_dir:
  69.     @(cd bsd_src; make all ${PROG_FL})
  70.  
  71. common_dir:
  72.     @(cd common;  make all ${PROG_FL})
  73.  
  74. client_dir:
  75.     @(cd client;  make all ${PROG_FL})
  76.  
  77. fspserver: bsd_dir common_dir
  78.     @(cd server;  make all ${PROG_FL})
  79.  
  80. fspclients: bsd_dir common_dir client_dir
  81.     @(cd clients; make all ${PROG_FL})
  82.  
  83. merge: bsd_dir common_dir client_dir
  84.     @(cd clients; make fspmerge ${PROG_FL})
  85.  
  86. install:  fspserver fspclients
  87.     @(cd server; make install ${PROG_FL})
  88.     @(cd clients; make install ${PROG_FL})
  89.  
  90. install-merge: fspserver merge
  91.     @(cd server; make install ${PROG_FL})
  92.     @(cd clients; make install_merge ${PROG_FL})
  93.  
  94. install-man:
  95.     @(cd man; make install ${PROG_FL})
  96.  
  97. clean:
  98.     @(cd server; make clean ${PROG_FL})
  99.     @(cd clients; make clean ${PROG_FL})
  100.     @(cd bsd_src; make clean ${PROG_FL})
  101.     @(cd common; make clean ${PROG_FL})
  102.     @(cd client; make clean ${PROG_FL})
  103.  
  104. de-install:
  105.     @(cd server; make de-install ${PROG_FL})
  106.     @(cd clients; make de-install ${PROG_FL})
  107.     @(cd man; make de-install ${PROG_FL})
  108.  
  109.